package com.itheima.reggie.dto;

import com.itheima.reggie.domain.Dish;
import com.itheima.reggie.domain.DishFlavor;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * 创建封装新增菜品信息的dto(数据传输对象)
 */
@Data
public class DIshDto extends Dish {
    //flavors里面的信息用DishFlavor对象封装
    private List<DishFlavor> flavors= new ArrayList<>();

    private String categoryName;

    private Integer copies;
}
